{
    "data": {
        "advertData": [
         [#list advertList as adv]
         {
            "advertId":"${(adv.id)!}",
            "adType":${(adv.adType)!},
            "position":${(adv.adPosition)!},
            "contentUrl":"${(adv.contentUrl?j_string)!}",
            "imageUrl":"${(adv.image)!}",
            "showCount":${(adv.showCount)!},
            "showTime":${(adv.showTime)!},
            "versionCode":${(adv.versionCode)!},
             [#if adv.adType==2]
             "productType":"${(adv.productType?j_string)!}",
             "productUrl":"${(adv.productUrl?j_string)!}",
             "productJson":"${(adv.productJson?j_string)!}",
             [/#if]
            "newsUrlList":[
             [#if adv.newsUrl?size!=0]
               [#list adv.newsUrl as url]
                 {
                   "newsUrl": "${(url)!}"
                  }
                   [#if url_has_next],[/#if]
               [/#list]
             [/#if]
            ]
         }[#if adv_has_next],[/#if]
         [/#list]]
    },
    "error": "",
    "rs":200
}